<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
  <script type="text/javascript" src="/js/jquery-3.6.0.min.js"></script>
</head>
<body style="overflow: hidden" >
<div id="center123"></div>
</body>
<script>
  $(function (){
    $.ajax({
      url:"/menu/getCenter",
      type:"post",
      dataType:"html",
      success:function (data){
        $("#center123").html(data);
      },error:function (){
        alert("主页加载");
      }

    })
  })
</script>
</html>